package com.bw.gmallpublisher.service.impl;

import com.bw.gmallpublisher.mapper.GmvMapper;
import com.bw.gmallpublisher.service.GmvService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
@Service
public class GmvServiceImp implements GmvService {
    @Autowired
    GmvMapper  gmvMapper;
    @Override
    public BigDecimal getGmv(int date) {
        return gmvMapper.getGmv(date);
    }
}
